var express = require('express');
var router = express.Router();
var authentication = require('../middleware/authentication.js')

// 登陆鉴权
router.get('/',function(req,res,next){
	authentication.islogin(req,res,next);
});
/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'Express' });
});

module.exports = router;
